<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
    <meta charset="UTF-8">
    <title>主页面</title>
</head>
<body>
  <a href="/user/select" sec:authorize="hasAuthority('user:select')">查询</a>
  <a href="/user/insert" sec:authorize="hasAuthority('user:insert')">添加</a>
  <a href="/user/update" sec:authorize="hasAuthority('user:delete')">修改</a>
  <a href="/user/delete" sec:authorize="hasAuthority('user:update')">删除</a>
  <a href="/user/export" sec:authorize="hasAuthority('user:export')">导出</a>
</body>
</html>